CVE-2017-9022
StrongSwan GMP RSA Key Validation DoS
Description
The gmp plugin in strongSwan before 5.5.3 does not properly validate RSA public keys before calling mpz_powm_sec, which allows remote peers to cause a denial of service (floating point exception and process crash) via a crafted certificate.
INFO
Published Date :
June 8, 2017, 4:29 p.m.
Last Modified :
April 20, 2025, 1:37 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2017-9022
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.0 | HIGH | [email protected] | 
Solution
- Upgrade the strongSwan packages to a patched version.
- Update the affected Linux packages.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2017-9022.
                                        
| URL | Resource | 
|---|---|
| http://www.debian.org/security/2017/dsa-3866 | Third Party Advisory | 
| http://www.securityfocus.com/bid/98760 | Third Party Advisory VDB Entry | 
| http://www.ubuntu.com/usn/USN-3301-1 | Third Party Advisory | 
| https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html | |
| http://www.debian.org/security/2017/dsa-3866 | Third Party Advisory | 
| http://www.securityfocus.com/bid/98760 | Third Party Advisory VDB Entry | 
| http://www.ubuntu.com/usn/USN-3301-1 | Third Party Advisory | 
| https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2017-9022 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2017-9022
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2017-9022 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2017-9022 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference http://www.debian.org/security/2017/dsa-3866 Added Reference http://www.securityfocus.com/bid/98760 Added Reference http://www.ubuntu.com/usn/USN-3301-1 Added Reference https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Nov. 07, 2023 Action Type Old Value New Value Added Reference MITRE https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html [No types assigned] Removed Reference MITRE https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9022).html 
- 
                            Modified Analysis by [email protected]Apr. 16, 2019 Action Type Old Value New Value Changed Reference Type https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9022).html No Types Assigned https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9022).html Patch, Vendor Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Aug. 13, 2018 Action Type Old Value New Value Removed Reference https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html [Vendor Advisory] Added Reference https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9022).html [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jun. 21, 2017 Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type http://www.debian.org/security/2017/dsa-3866 No Types Assigned http://www.debian.org/security/2017/dsa-3866 Third Party Advisory Changed Reference Type https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html No Types Assigned https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html Vendor Advisory Changed Reference Type http://www.securityfocus.com/bid/98760 No Types Assigned http://www.securityfocus.com/bid/98760 Third Party Advisory, VDB Entry Changed Reference Type http://www.ubuntu.com/usn/USN-3301-1 No Types Assigned http://www.ubuntu.com/usn/USN-3301-1 Third Party Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:strongswan:strongswan:5.5.2:*:*:*:*:*:*:* (and previous) 
- 
                            CVE Modified by [email protected]Jun. 09, 2017 Action Type Old Value New Value Removed Reference https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-(cve-2017-9022).html [No Types Assigned] Added Reference https://www.strongswan.org/blog/2017/05/30/strongswan-vulnerability-%28cve-2017-9022%29.html [No Types Assigned] 
Vulnerability Scoring Details
Base CVSS Score: 7.5
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.03 }} 0.21%
score
0.76471
percentile
 
                         
                         
                         
                                             
                                            